import {make} from '@utils/util'

const state = {
  operateConfirmInfo: {
    show: false,
    title: '',
    text: '',
    leftOperateText: '',
    rightOperateText: '',
    confirmCallback: () => {}
  },
  blackInfo: {
    show: false,
    text: ''
  },
  operateTipInfo: {
    show: false,
    title: '',
    text: '',
    operateText: '',
    confirmCallback: () => {}
  }
}

const mutations = make.mutations(state)

export default {
  namespaced: true,
  state,
  mutations
}
